from django.urls import path

from enterprise import views

urlpatterns = [
    path('avatar_uploadview/', views.ImageUploadView.as_view()),
    path('login/', views.LoginView.as_view()),
    path('personal/', views.PersonalInfoView.as_view()),
    path('company/', views.CompanyInfoView.as_view()),
    path('company/<int:company_id>/', views.CompanyDetailView.as_view()),  # 公司详情接口
    path('jobs/', views.JobsListView.as_view()),
    path('jobs/<int:job_id>/', views.JobDetailView.as_view()),
    path('main/', views.MainPageView.as_view()),
]